<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    {if condition="$_SESSION['think']['admin']['id'] == 1"}
    <div class="form-group">
        <label for="c-pay_mu" class="control-label col-xs-12 col-sm-2">充值MU:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-pay_mu" data-rule="required" class="form-control" name="row[pay_mu]" type="number" value="{$row.pay_mu}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-active_mu" class="control-label col-xs-12 col-sm-2">活动MU:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-active_mu" data-rule="required" class="form-control" name="row[active_mu]" type="number" value="{$row.active_mu}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-mq" class="control-label col-xs-12 col-sm-2">MQ:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-mq" data-rule="required" class="form-control" name="row[mq]" type="number" value="{$row.mq}">
        </div>
    </div>
    {/if}
<!--     <div class="form-group">
        <label for="content" class="control-label col-xs-12 col-sm-2">激活状态:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[active_status]', ['1'=>'已激活', '0'=>'未激活'], $row['active_status'])}
        </div>
    </div> -->
    <div class="form-group">
        <label for="content" class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[status]', ['normal'=>__('Normal'), 'hidden'=>'拉黑'], $row['status'])}
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
